export interface CommentVo {
  id: number;
  content: string;
  nickname: string;
  createdAt: string;
  avatar?: string;
  parentId: number | null;
  replyName: string | null;
  replyAvatar: string | null;
  parentComment: ParentComment | null;
  children: CommentVo[];
}

interface ParentComment {
  id: string;
  nickname: string;
  createdAt: Date | string;
  avatar: string;
}

export interface CommentDto {
  content: string;
  nickname: string;
  postId: number;
  level?: number;
  email: string;
  website: string;
  avatar?: string;
  parentId: number | null;
}
